le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
↳ QTRS
↳ Overlay + Local Confluence
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
IF(false, x, y, z, u, v) → LE(y, s(u))
QUOT(x, s(y)) → QUOTITER(x, s(y), 0, 0, 0)
LE(s(x), s(y)) → LE(x, y)
QUOTITER(x, s(y), z, u, v) → LE(x, z)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
IF(false, x, y, z, u, v) → LE(y, s(u))
QUOT(x, s(y)) → QUOTITER(x, s(y), 0, 0, 0)
LE(s(x), s(y)) → LE(x, y)
QUOTITER(x, s(y), z, u, v) → LE(x, z)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
LE(s(x), s(y)) → LE(x, y)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
LE(s(x), s(y)) → LE(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
LE(s(x), s(y)) → LE(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
quot(x, 0) → quotZeroErro
quot(x, s(y)) → quotIter(x, s(y), 0, 0, 0)
quotIter(x, s(y), z, u, v) → if(le(x, z), x, s(y), z, u, v)
if(true, x, y, z, u, v) → v
if(false, x, y, z, u, v) → if2(le(y, s(u)), x, y, s(z), s(u), v)
if2(false, x, y, z, u, v) → quotIter(x, y, z, u, v)
if2(true, x, y, z, u, v) → quotIter(x, y, z, 0, s(v))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
quot(x0, 0)
quot(x0, s(x1))
quotIter(x0, s(x1), x2, x3, x4)
if(true, x0, x1, x2, x3, x4)
if(false, x0, x1, x2, x3, x4)
if2(false, x0, x1, x2, x3, x4)
if2(true, x0, x1, x2, x3, x4)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
(1) (IF2(le(x6, s(x8)), x5, x6, s(x7), s(x8), x9)=IF2(true, x10, x11, x12, x13, x14) ⇒ IF2(true, x10, x11, x12, x13, x14)≥QUOTITER(x10, x11, x12, 0, s(x14)))
(2) (s(x8)=x105∧le(x6, x105)=true ⇒ IF2(true, x5, x6, s(x7), s(x8), x9)≥QUOTITER(x5, x6, s(x7), 0, s(x9)))
(3) (true=true∧s(x8)=x106 ⇒ IF2(true, x5, 0, s(x7), s(x8), x9)≥QUOTITER(x5, 0, s(x7), 0, s(x9)))
(4) (le(x108, x109)=true∧s(x8)=s(x109)∧(∀x110,x111,x112,x113:le(x108, x109)=true∧s(x110)=x109 ⇒ IF2(true, x111, x108, s(x112), s(x110), x113)≥QUOTITER(x111, x108, s(x112), 0, s(x113))) ⇒ IF2(true, x5, s(x108), s(x7), s(x8), x9)≥QUOTITER(x5, s(x108), s(x7), 0, s(x9)))
(5) (IF2(true, x5, 0, s(x7), s(x8), x9)≥QUOTITER(x5, 0, s(x7), 0, s(x9)))
(6) (le(x108, x109)=true ⇒ IF2(true, x5, s(x108), s(x7), s(x109), x9)≥QUOTITER(x5, s(x108), s(x7), 0, s(x9)))
(7) (true=true ⇒ IF2(true, x5, s(0), s(x7), s(x114), x9)≥QUOTITER(x5, s(0), s(x7), 0, s(x9)))
(8) (le(x116, x117)=true∧(∀x118,x119,x120:le(x116, x117)=true ⇒ IF2(true, x118, s(x116), s(x119), s(x117), x120)≥QUOTITER(x118, s(x116), s(x119), 0, s(x120))) ⇒ IF2(true, x5, s(s(x116)), s(x7), s(s(x117)), x9)≥QUOTITER(x5, s(s(x116)), s(x7), 0, s(x9)))
(9) (IF2(true, x5, s(0), s(x7), s(x114), x9)≥QUOTITER(x5, s(0), s(x7), 0, s(x9)))
(10) (IF2(true, x5, s(x116), s(x7), s(x117), x9)≥QUOTITER(x5, s(x116), s(x7), 0, s(x9)) ⇒ IF2(true, x5, s(s(x116)), s(x7), s(s(x117)), x9)≥QUOTITER(x5, s(s(x116)), s(x7), 0, s(x9)))
(11) (IF(le(x35, x37), x35, s(x36), x37, x38, x39)=IF(false, x40, x41, x42, x43, x44) ⇒ IF(false, x40, x41, x42, x43, x44)≥IF2(le(x41, s(x43)), x40, x41, s(x42), s(x43), x44))
(12) (le(x35, x37)=false ⇒ IF(false, x35, s(x36), x37, x38, x39)≥IF2(le(s(x36), s(x38)), x35, s(x36), s(x37), s(x38), x39))
(13) (false=false ⇒ IF(false, s(x122), s(x36), 0, x38, x39)≥IF2(le(s(x36), s(x38)), s(x122), s(x36), s(0), s(x38), x39))
(14) (le(x123, x124)=false∧(∀x125,x126,x127:le(x123, x124)=false ⇒ IF(false, x123, s(x125), x124, x126, x127)≥IF2(le(s(x125), s(x126)), x123, s(x125), s(x124), s(x126), x127)) ⇒ IF(false, s(x123), s(x36), s(x124), x38, x39)≥IF2(le(s(x36), s(x38)), s(x123), s(x36), s(s(x124)), s(x38), x39))
(15) (IF(false, s(x122), s(x36), 0, x38, x39)≥IF2(le(s(x36), s(x38)), s(x122), s(x36), s(0), s(x38), x39))
(16) (IF(false, x123, s(x36), x124, x38, x39)≥IF2(le(s(x36), s(x38)), x123, s(x36), s(x124), s(x38), x39) ⇒ IF(false, s(x123), s(x36), s(x124), x38, x39)≥IF2(le(s(x36), s(x38)), s(x123), s(x36), s(s(x124)), s(x38), x39))
(17) (QUOTITER(x50, x51, x52, 0, s(x54))=QUOTITER(x55, s(x56), x57, x58, x59) ⇒ QUOTITER(x55, s(x56), x57, x58, x59)≥IF(le(x55, x57), x55, s(x56), x57, x58, x59))
(18) (QUOTITER(x50, s(x56), x52, 0, s(x54))≥IF(le(x50, x52), x50, s(x56), x52, 0, s(x54)))
(19) (QUOTITER(x70, x71, x72, x73, x74)=QUOTITER(x75, s(x76), x77, x78, x79) ⇒ QUOTITER(x75, s(x76), x77, x78, x79)≥IF(le(x75, x77), x75, s(x76), x77, x78, x79))
(20) (QUOTITER(x70, s(x76), x72, x73, x74)≥IF(le(x70, x72), x70, s(x76), x72, x73, x74))
(21) (IF2(le(x86, s(x88)), x85, x86, s(x87), s(x88), x89)=IF2(false, x90, x91, x92, x93, x94) ⇒ IF2(false, x90, x91, x92, x93, x94)≥QUOTITER(x90, x91, x92, x93, x94))
(22) (s(x88)=x128∧le(x86, x128)=false ⇒ IF2(false, x85, x86, s(x87), s(x88), x89)≥QUOTITER(x85, x86, s(x87), s(x88), x89))
(23) (false=false∧s(x88)=0 ⇒ IF2(false, x85, s(x130), s(x87), s(x88), x89)≥QUOTITER(x85, s(x130), s(x87), s(x88), x89))
(24) (le(x131, x132)=false∧s(x88)=s(x132)∧(∀x133,x134,x135,x136:le(x131, x132)=false∧s(x133)=x132 ⇒ IF2(false, x134, x131, s(x135), s(x133), x136)≥QUOTITER(x134, x131, s(x135), s(x133), x136)) ⇒ IF2(false, x85, s(x131), s(x87), s(x88), x89)≥QUOTITER(x85, s(x131), s(x87), s(x88), x89))
(25) (le(x131, x132)=false ⇒ IF2(false, x85, s(x131), s(x87), s(x132), x89)≥QUOTITER(x85, s(x131), s(x87), s(x132), x89))
(26) (false=false ⇒ IF2(false, x85, s(s(x138)), s(x87), s(0), x89)≥QUOTITER(x85, s(s(x138)), s(x87), s(0), x89))
(27) (le(x139, x140)=false∧(∀x141,x142,x143:le(x139, x140)=false ⇒ IF2(false, x141, s(x139), s(x142), s(x140), x143)≥QUOTITER(x141, s(x139), s(x142), s(x140), x143)) ⇒ IF2(false, x85, s(s(x139)), s(x87), s(s(x140)), x89)≥QUOTITER(x85, s(s(x139)), s(x87), s(s(x140)), x89))
(28) (IF2(false, x85, s(s(x138)), s(x87), s(0), x89)≥QUOTITER(x85, s(s(x138)), s(x87), s(0), x89))
(29) (IF2(false, x85, s(x139), s(x87), s(x140), x89)≥QUOTITER(x85, s(x139), s(x87), s(x140), x89) ⇒ IF2(false, x85, s(s(x139)), s(x87), s(s(x140)), x89)≥QUOTITER(x85, s(s(x139)), s(x87), s(s(x140)), x89))
POL(0) = 0
POL(IF(x1, x2, x3, x4, x5, x6)) = 1 - x1 + x2 - x4 + x5
POL(IF2(x1, x2, x3, x4, x5, x6)) = 1 - x1 + x2 - x4 + x5
POL(QUOTITER(x1, x2, x3, x4, x5)) = 1 + x1 - x3 + x4
POL(c) = -1
POL(false) = 0
POL(le(x1, x2)) = 0
POL(s(x1)) = 1 + x1
POL(true) = 0
The following pairs are in Pbound:
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
The following rules are usable:
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
false → le(s(x), 0)
true → le(0, y)
le(x, y) → le(s(x), s(y))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
↳ AND
↳ QDP
↳ NonInfProof
↳ QDP
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
(1) (IF(le(x35, x37), x35, s(x36), x37, x38, x39)=IF(false, x40, x41, x42, x43, x44) ⇒ IF(false, x40, x41, x42, x43, x44)≥IF2(le(x41, s(x43)), x40, x41, s(x42), s(x43), x44))
(2) (le(x35, x37)=false ⇒ IF(false, x35, s(x36), x37, x38, x39)≥IF2(le(s(x36), s(x38)), x35, s(x36), s(x37), s(x38), x39))
(3) (false=false ⇒ IF(false, s(x122), s(x36), 0, x38, x39)≥IF2(le(s(x36), s(x38)), s(x122), s(x36), s(0), s(x38), x39))
(4) (le(x123, x124)=false∧(∀x125,x126,x127:le(x123, x124)=false ⇒ IF(false, x123, s(x125), x124, x126, x127)≥IF2(le(s(x125), s(x126)), x123, s(x125), s(x124), s(x126), x127)) ⇒ IF(false, s(x123), s(x36), s(x124), x38, x39)≥IF2(le(s(x36), s(x38)), s(x123), s(x36), s(s(x124)), s(x38), x39))
(5) (IF(false, s(x122), s(x36), 0, x38, x39)≥IF2(le(s(x36), s(x38)), s(x122), s(x36), s(0), s(x38), x39))
(6) (IF(false, x123, s(x36), x124, x38, x39)≥IF2(le(s(x36), s(x38)), x123, s(x36), s(x124), s(x38), x39) ⇒ IF(false, s(x123), s(x36), s(x124), x38, x39)≥IF2(le(s(x36), s(x38)), s(x123), s(x36), s(s(x124)), s(x38), x39))
(7) (QUOTITER(x70, x71, x72, x73, x74)=QUOTITER(x75, s(x76), x77, x78, x79) ⇒ QUOTITER(x75, s(x76), x77, x78, x79)≥IF(le(x75, x77), x75, s(x76), x77, x78, x79))
(8) (QUOTITER(x70, s(x76), x72, x73, x74)≥IF(le(x70, x72), x70, s(x76), x72, x73, x74))
(9) (IF2(le(x86, s(x88)), x85, x86, s(x87), s(x88), x89)=IF2(false, x90, x91, x92, x93, x94) ⇒ IF2(false, x90, x91, x92, x93, x94)≥QUOTITER(x90, x91, x92, x93, x94))
(10) (s(x88)=x128∧le(x86, x128)=false ⇒ IF2(false, x85, x86, s(x87), s(x88), x89)≥QUOTITER(x85, x86, s(x87), s(x88), x89))
(11) (false=false∧s(x88)=0 ⇒ IF2(false, x85, s(x130), s(x87), s(x88), x89)≥QUOTITER(x85, s(x130), s(x87), s(x88), x89))
(12) (le(x131, x132)=false∧s(x88)=s(x132)∧(∀x133,x134,x135,x136:le(x131, x132)=false∧s(x133)=x132 ⇒ IF2(false, x134, x131, s(x135), s(x133), x136)≥QUOTITER(x134, x131, s(x135), s(x133), x136)) ⇒ IF2(false, x85, s(x131), s(x87), s(x88), x89)≥QUOTITER(x85, s(x131), s(x87), s(x88), x89))
(13) (le(x131, x132)=false ⇒ IF2(false, x85, s(x131), s(x87), s(x132), x89)≥QUOTITER(x85, s(x131), s(x87), s(x132), x89))
(14) (false=false ⇒ IF2(false, x85, s(s(x138)), s(x87), s(0), x89)≥QUOTITER(x85, s(s(x138)), s(x87), s(0), x89))
(15) (le(x139, x140)=false∧(∀x141,x142,x143:le(x139, x140)=false ⇒ IF2(false, x141, s(x139), s(x142), s(x140), x143)≥QUOTITER(x141, s(x139), s(x142), s(x140), x143)) ⇒ IF2(false, x85, s(s(x139)), s(x87), s(s(x140)), x89)≥QUOTITER(x85, s(s(x139)), s(x87), s(s(x140)), x89))
(16) (IF2(false, x85, s(s(x138)), s(x87), s(0), x89)≥QUOTITER(x85, s(s(x138)), s(x87), s(0), x89))
(17) (IF2(false, x85, s(x139), s(x87), s(x140), x89)≥QUOTITER(x85, s(x139), s(x87), s(x140), x89) ⇒ IF2(false, x85, s(s(x139)), s(x87), s(s(x140)), x89)≥QUOTITER(x85, s(s(x139)), s(x87), s(s(x140)), x89))
POL(0) = 1
POL(IF(x1, x2, x3, x4, x5, x6)) = -1 + x3 - x5
POL(IF2(x1, x2, x3, x4, x5, x6)) = -1 + x3 - x5
POL(QUOTITER(x1, x2, x3, x4, x5)) = -1 + x2 - x4
POL(c) = -1
POL(false) = 0
POL(le(x1, x2)) = x1
POL(s(x1)) = 1 + x1
POL(true) = 0
The following pairs are in Pbound:
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
There are no usable rules
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
↳ AND
↳ QDP
↳ NonInfProof
↳ AND
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
↳ AND
↳ QDP
↳ NonInfProof
↳ AND
↳ QDP
↳ QDP
↳ DependencyGraphProof
↳ QDP
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF(false, x, y, z, u, v) → IF2(le(y, s(u)), x, y, s(z), s(u), v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
↳ AND
↳ QDP
↳ QDP
↳ DependencyGraphProof
IF2(true, x, y, z, u, v) → QUOTITER(x, y, z, 0, s(v))
QUOTITER(x, s(y), z, u, v) → IF(le(x, z), x, s(y), z, u, v)
IF2(false, x, y, z, u, v) → QUOTITER(x, y, z, u, v)
le(0, y) → true
le(s(x), 0) → false
le(s(x), s(y)) → le(x, y)
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))